package com.bwie.shop.mapper;

import com.bwie.common.domain.Shop;
import com.bwie.common.domain.request.ShopReq;
import com.bwie.common.result.Result;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName ShopMapper
 * @Description 描述
 * @Author ShiYu.Cui
 * @Date 2024/4/25 9:36
 */
@Mapper
public interface ShopMapper {
    List<Shop> shopList(ShopReq shopReq);

    void add(Shop shop);

    void update(Shop shop);

    Result findById(Integer id);
}
